home *** CD-ROM | disk | FTP | other *** search
/ Champak 145 / (Vol 145) Dec 21 2011.iso / Games / locochew.swf / scripts / __Packages / baseClass / FpsCounter.as next >
Encoding:
Text File  |  2011-12-21  |  4.7 KB  |  185 lines

  1. function ┬º\x04\x05┬º()
  2. {
  3.    set("\x03",2176 % 511 * true);
  4.    ┬º┬ºpush("\x03");
  5.    if("\x01")
  6.    {
  7.    }
  8.    return eval(┬º┬ºpop());
  9. }
  10. var ┬º\x01┬º = 353 + "\x04\x05"();
  11. while(true)
  12. {
  13.    if(eval("\x01") == 485)
  14.    {
  15.       set("\x01",eval("\x01") - 135);
  16.       ┬º┬ºpush(true);
  17.    }
  18.    else if(eval("\x01") == 350)
  19.    {
  20.       set("\x01",eval("\x01") + 489);
  21.       if(function ┬º\x04\x05┬º()
  22.       {
  23.          set("\x03",2176 % 511 * true);
  24.          ┬º┬ºpush("\x03");
  25.          if("\x01")
  26.          {
  27.          }
  28.          return eval(┬º┬ºpop());
  29.       })
  30.       {
  31.          set("\x01",eval("\x01") - 797);
  32.       }
  33.    }
  34.    else
  35.    {
  36.       if(eval("\x01") == 805)
  37.       {
  38.          set("\x01",eval("\x01") + 97);
  39.          if(!_global.baseClass)
  40.          {
  41.             _global.baseClass = new Object();
  42.          }
  43.          function ┬º\x04\x05┬º()
  44.          {
  45.             set("\x03",2176 % 511 * true);
  46.             ┬º┬ºpush("\x03");
  47.             if("\x01")
  48.             {
  49.             }
  50.             return eval(┬º┬ºpop());
  51.          }
  52.          if(!_global.baseClass.FpsCounter)
  53.          {
  54.             var _loc2_ = baseClass.FpsCounter = function(target_mc)
  55.             {
  56.                this.__target_mc = target_mc;
  57.                this.__target_mc.__refObj = this;
  58.                this.__framesCount = 0;
  59.                this.__target_mc.createTextField("fps_txt",10,0,0,64,32);
  60.                this.__target_mc.UpdateFps();
  61.                this.__target_mc.onEnterFrame = this.CountFrames;
  62.                this.__intervalId = setInterval(this,"CalculateFpsCallback",this.__duration);
  63.             }.prototype;
  64.             _loc2_.GetTargetMc = function()
  65.             {
  66.                return this.__target_mc;
  67.             };
  68.             _loc2_.Tick = function()
  69.             {
  70.                this.__framesCount = this.__framesCount + 1;
  71.             };
  72.             _loc2_.CountFrames = function()
  73.             {
  74.                this.__refObj.Tick();
  75.             };
  76.             _loc2_.UpdateFps = function()
  77.             {
  78.                var _loc2_ = Math.round(this.__framesCount / (this.__duration / 1000));
  79.                this.__target_mc.fps_txt.text = _loc2_;
  80.                this.__framesCount = 0;
  81.             };
  82.             _loc2_.CalculateFpsCallback = function()
  83.             {
  84.                this.UpdateFps();
  85.             };
  86.             _loc2_.__duration = 1000;
  87.             ┬º┬ºpush(ASSetPropFlags(baseClass.FpsCounter.prototype,null,1));
  88.          }
  89.          ┬º┬ºpop();
  90.          break;
  91.       }
  92.       if(eval("\x01") == 376)
  93.       {
  94.          set("\x01",eval("\x01") + 581);
  95.          if(function ┬º\x04\x05┬º()
  96.          {
  97.             set("\x03",2176 % 511 * true);
  98.             ┬º┬ºpush("\x03");
  99.             if("\x01")
  100.             {
  101.             }
  102.             return eval(┬º┬ºpop());
  103.          })
  104.          {
  105.             set("\x01",eval("\x01") - 152);
  106.          }
  107.       }
  108.       else if(eval("\x01") == 957)
  109.       {
  110.          set("\x01",eval("\x01") - 152);
  111.       }
  112.       else if(eval("\x01") == 42)
  113.       {
  114.          set("\x01",eval("\x01") + 700);
  115.       }
  116.       else if(eval("\x01") == 421)
  117.       {
  118.          set("\x01",eval("\x01") + 219);
  119.          var ┬º┬ºpop() = function ┬º\x04\x05┬º()
  120.          {
  121.             set("\x03",2176 % 511 * true);
  122.             ┬º┬ºpush("\x03");
  123.             if("\x01")
  124.             {
  125.             }
  126.             return eval(┬º┬ºpop());
  127.          };
  128.       }
  129.       else if(eval("\x01") == 742)
  130.       {
  131.          set("\x01",eval("\x01") - 321);
  132.          ┬º┬ºpush("\x0f");
  133.          ┬º┬ºpush(1);
  134.       }
  135.       else if(eval("\x01") == 474)
  136.       {
  137.          set("\x01",eval("\x01") - 98);
  138.          ┬º┬ºpush(!function ┬º\x04\x05┬º()
  139.          {
  140.             set("\x03",2176 % 511 * true);
  141.             ┬º┬ºpush("\x03");
  142.             if("\x01")
  143.             {
  144.             }
  145.             return eval(┬º┬ºpop());
  146.          });
  147.       }
  148.       else if(eval("\x01") == 141)
  149.       {
  150.          set("\x01",eval("\x01") + 333);
  151.          ┬º┬ºpush(eval(function ┬º\x04\x05┬º()
  152.          {
  153.             set("\x03",2176 % 511 * true);
  154.             ┬º┬ºpush("\x03");
  155.             if("\x01")
  156.             {
  157.             }
  158.             return eval(┬º┬ºpop());
  159.          }));
  160.       }
  161.       else if(eval("\x01") == 640)
  162.       {
  163.          set("\x01",eval("\x01") - 499);
  164.          ┬º┬ºpush("\x0f");
  165.       }
  166.       else
  167.       {
  168.          if(eval("\x01") != 958)
  169.          {
  170.             if(eval("\x01") == 902)
  171.             {
  172.                set("\x01",eval("\x01") - 902);
  173.                break;
  174.             }
  175.             if(eval("\x01") == 839)
  176.             {
  177.                set("\x01",eval("\x01") - 797);
  178.             }
  179.             break;
  180.          }
  181.          set("\x01",eval("\x01") - 216);
  182.       }
  183.    }
  184. }
  185.